package yunquan.wang.modules.customer.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import yunquan.wang.base.domain.AuditableEntity;
@Entity
@Table(name = "c_company")
public class Company extends AuditableEntity{
 
 
/**
 * 公司全称
 */
	@Column(name="fullname",length=100)
private String fullName;
	/**
	 * 行业
	 */
	@Column(name="trade",length=20)
private String  trade;//	
 /**
  * 法人代表
  */
	@Column(name="namager_name",length=30)
private String managerName;
 /**
  * 地址
  */
	@Column(name="address",length=100)
private String address;
 /**
  * 电话号码
  */
	@Column(name="phonenumber",length=20)
private String phonenumber;
	
	
	
 /**
  * 主要产品1
  */
	@Column(name="mainproduct_1",length=50)
private String mainProduct1;
 /**
  * 主要产品2
  */
	@Column(name="mainproduct_2",length=50)
private String mainProduct2;
 /**
  * 国有控股情况
  */
@Column(name="state_control",length=1)
private Integer stateControl;
 /**
  * 开工时间
  */
@Column(name="begintime",length=10)
private String begintime;
 /**
  * 机构类别
  */
@Column(name="orgtype",length=10)
private String orgtype;
 /**
  * 上年营业收入
  */
@Column(name="lastbusinee_count",length=10,precision=8,scale=2)
private Double lastBusinessCount;
 /**
  * 资产合计
  */
@Column(name="totalAssets",length=10,precision=8,scale=2)
private Double totalAssets;
 /**
  * 职工人数
  */
@Column(name="employee",length=6)
 private Integer employee;
 /**
  * 流动资产合计
  */
@Column(name="flowassert",length=10,precision=8,scale=2)
 private Double flowAssert;


 /**
  * 应收账款净额
  */
/**
 * 存货
 */

/**
 * 负债合计
 */
/**
 * 固定资产合计
 */

/**
 * 流动负债合计
 */

/**
 * 所有者权益合计
 */

/**
 * 产品销售收入
 */
private Integer salesRevenue;

/**
 * 财务费用
 * 
 */

/**
 * 利润总额
 * 
 */

/**
 * 净利润
 * 
 */
/**
 * 数据来源的年份
 */
@Column(name="datayear",length=4)
private Integer dataYear ;


public Integer getDataYear() {
	return dataYear;
}
public void setDataYear(Integer dataYear) {
	this.dataYear = dataYear;
}
public String getFullName() {
	return fullName;
}
public String getManagerName() {
	return managerName;
}
public void setManagerName(String managerName) {
	this.managerName = managerName;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public String getPhonenumber() {
	return phonenumber;
}
public void setPhonenumber(String phonenumber) {
	this.phonenumber = phonenumber;
}
public String getMainProduct1() {
	return mainProduct1;
}
public void setMainProduct1(String mainProduct1) {
	this.mainProduct1 = mainProduct1;
}
public String getMainProduct2() {
	return mainProduct2;
}
public void setMainProduct2(String mainProduct2) {
	this.mainProduct2 = mainProduct2;
}
public Integer getStateControl() {
	return stateControl;
}
public void setStateControl(Integer stateControl) {
	this.stateControl = stateControl;
}
public String getBegintime() {
	return begintime;
}
public void setBegintime(String begintime) {
	this.begintime = begintime;
}
public String getOrgtype() {
	return orgtype;
}
public void setOrgtype(String orgtype) {
	this.orgtype = orgtype;
}
public Double getLastBusinessCount() {
	return lastBusinessCount;
}
public void setLastBusinessCount(Double lastBusinessCount) {
	this.lastBusinessCount = lastBusinessCount;
}
public Double getTotalAssets() {
	return totalAssets;
}
public void setTotalAssets(Double totalAssets) {
	this.totalAssets = totalAssets;
}
public Integer getEmployee() {
	return employee;
}
public void setEmployee(Integer employee) {
	this.employee = employee;
}
public Double getFlowAssert() {
	return flowAssert;
}
public void setFlowAssert(Double flowAssert) {
	this.flowAssert = flowAssert;
}
public void setFullName(String fullName) {
	this.fullName = fullName;
}
public String getTrade() {
	return trade;
}
public void setTrade(String trade) {
	this.trade = trade;
}
public Integer getSalesRevenue() {
	return salesRevenue;
}
public void setSalesRevenue(Integer salesRevenue) {
	this.salesRevenue = salesRevenue;
}
 
 

 
 /**
  * 
  * 
  */
 
 
 /**
  * 客户录入时，公司信息可以简单录入，如果选则新建，则弹出对话框，新建公司
  * 新建公司后，返回，并将新建公司的相关信息返回到页面，
  * 提供重置按钮
  * 
  */
 
 
 

	
}
